package com.mycode.service;

import java.util.List;

import com.mycode.po.HouseInfoAndEqPO;
import com.mycode.po.HouseInfoPO;
import com.mycode.vo.SelectItemVO;

public interface HouseService {
	
	public List<SelectItemVO> getRentTypeList() throws Exception;
	
	public List<SelectItemVO> getHouseTypeList() throws Exception;
	
	public List<SelectItemVO> getHouseEquipList(int type) throws Exception;
	
	public void saveNewHouseInfo(HouseInfoPO po, List<Integer> eqlist) throws Exception;
	
	public List<HouseInfoPO> getallhouse(String userid)throws Exception;
	
	public List<HouseInfoAndEqPO> alterHouse(String houseid)throws Exception;
	
	public List<Integer> getEqid(String houseid)throws Exception;
	
	public void updateHouseInfo(HouseInfoPO po,List<Integer> neweqlist,String houseid)throws Exception;
	
	public void deleteHouse(String houseid) throws Exception;
	
	public void deleteEquip(String houseid)throws Exception;
	

}
